package edu.bu.bga.queue;

import java.util.ArrayList;
import java.util.List;

public class IntegerQueue extends Queue {

	List<Integer> playerList = new ArrayList<Integer>();

	public IntegerQueue(List<Integer> playerList) {
		super();
		this.playerList = playerList;
	}

	@Override
	public String getQueueText() {
		StringBuilder sb = new StringBuilder();

		for (Integer player : playerList) {
			sb.append(player);
			sb.append(" ");
		}

		return sb.toString();
	}

}
